#include "widget.h"
#include "ui_widget.h"

Widget::Widget(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::Widget)
{
    ui->setupUi(this);

    configView=new ConfigView(this);
    ui->tabWidget->addTab(configView,"Configuration");

    localtionView=new LocationView(this);
    ui->tabWidget->addTab(localtionView,"Location");

    infoView=new InfoView(this);
    ui->tabWidget->addTab(infoView,"Information");
}

Widget::~Widget()
{
    delete ui;
}
